Ensure that the fstat fix is not applied on x86_64
authorРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 14 Jan 2016 12:51:26 +0000 (12:51 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 14 Jan 2016 12:52:04 +0000 (12:52 +0000)
gtk/gtkiconcache.c

index 1bf564ef00ae4eee96c6f4e9924764d888f8fb2e..a8cfaf4b292a22a147598b086319cdde88a4d17f 100644 (file)
@@ -110,7 +110,7 @@ _gtk_icon_cache_new_for_path (const gchar *path)
 /* Bug 660730: _fstat32 is only defined in msvcrt80.dll+/VS 2005+ */
 /*             or possibly in the msvcrt.dll linked to by the Windows DDK */
 /*             (will need to check on the Windows DDK part later) */
-#if (_MSC_VER >= 1400 || __MSVCRT_VERSION__ >= 0x0800) || defined (__MINGW64_VERSION_MAJOR)
+#if ((_MSC_VER >= 1400 || __MSVCRT_VERSION__ >= 0x0800) || defined (__MINGW64_VERSION_MAJOR)) && !defined(_WIN64)
 #undef fstat /* Just in case */
 #define fstat _fstat32  
 #endif